<!--
 * @Descripttion:
 * @version:
 * @Author: ycq
 * @Date: 2020-03-26 13:15:31
 * @LastEditors: ycq
 * @LastEditTime: 2020-03-27 14:20:26
-->
<template>
  <div>
    <el-button type="info" @click="loginout">退出</el-button>
  </div>
</template>

<script>
export default {
  data() {
    return {}
  },
  methods: {
    loginout() {
      window.sessionStorage.clear()
      this.$router.push('/login')
    }
  }
}
</script>

<style lang="less" scope>
</style>
